package com.crx.score;
public class score {
	private int score;
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	
	public void Score(){
		if(score < 60) {
			System.out.println("成绩不及格");
		}else if(score >= 60 && score <70) {
			System.out.println("成绩及格");
		}else if(score >= 70 && score <80) {
			System.out.println("成绩良好");
		}else if(score >= 80 && score <90) {
			System.out.println("成绩优秀");
		}else if(score >= 90 && score <=100) {
			System.out.println("学霸");
		}else {
			System.out.println("成绩超出范围，请重新输入，分数范围0-100");
		}
	}
}
